
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />

<title>魔步网</title>
<?php include_once(VIEWPATH."public/header_title.php");?>
<link href="<?php echo _get_cfg_path('css')?>base.css" type="text/css" rel="stylesheet" />
<link href="<?php echo _get_cfg_path('css')?>common.css" type="text/css" rel="stylesheet" />
<!--[if IE 6]>
<script src="<?php echo _get_cfg_path('js')?>js/DD_belatedPNG.js" type="text/javascript" ></script>
<script>DD_belatedPNG.fix('a,img');</script>
<![endif]-->
</head>


<body class="resize">
<!--header-->
<?php include_once(VIEWPATH."public/header_menu.php");?>
<div id="slideBox" class="ibanner">
    <div class="iban">
        <h3>登录账号</h3>
        <div class="fl iban_form">
            <form id="xtform" action="" method="post">
                <input type="hidden" id="forword_url" value="{$result.forword_url}">
                <ul>
                    <p class="fr f_prompt" id="prompt" style="width:90%;">请输入正确的密码</p>
                    <li>
                        <img src="<?php echo _get_cfg_path('images')?>iban_formimg1.jpg" />
                        <input id="name" name="username" type="text" placeholder="用户名"/>
                        <img src="<?php echo _get_cfg_path('images')?>iban_formtt.jpg" />
                    </li>
                    <li>
                        <img src="<?php echo _get_cfg_path('images')?>iban_formimg2.jpg" />
                        <input id="password" name="password" type="password" placeholder="密码"/>
                        <img src="<?php echo _get_cfg_path('images')?>iban_formtt.jpg" />
                    </li>
                    <li>
                        <img src="<?php echo _get_cfg_path('images')?>iban_formimg3.jpg" />
                        <input class="iban_foin" name="login_code" id="code" type="text" placeholder="验证码"/>
                        <img class="mrgR10" src="<?php echo _get_cfg_path('images')?>iban_formtt.jpg" />
                        <img class="xtml-15" id="yzimg" src="/util/captcha?<?php echo rand(10000,9999);?>" onclick="this.src='/util/captcha?'+Math.random()" alt="验证码" >
                    </li>
                    <li>
                        <input checked="checked" type="checkbox"  name="rem" id="rem" value="rem" />
                        <label for="rem">记住帐号</label>
<!--                         <p class="fr f_prompt" id="prompt">请输入正确的密码</p> -->
                    </li>
                    <li class="iban_forin">
                        <input class="but" name="submit" value="登   录" type="submit" onclick="return formC();"/>
                    </li>
                    <li>
                        <p class="logmm fl">忘记密码？<a href="/user/login/forget">点击这里</a></p>
                        <a class="iban_forma fr" href="/reg" title="免费注册">免费注册</a>
                    </li>
                </ul>
            </form>
        </div>
        <div class="iban_bot"><!-- <span>社交账号直接登录</span>
        
        <?php
		include_once( '../web/libweibo/config.php' );
		include_once( '../web/libweibo/saetv2.ex.class.php' );
		$weibo = array();
		$weibo = _get_config("weibo_app");
		$code_url = "";
		if ($weibo)
		{
			$o = new SaeTOAuthV2( $weibo["app_key"] , $weibo["app_sercet"] );
			$code_url = $o->getAuthorizeURL( "http://www.mobooker.com/auth/weibo" );
		}
		?>
            <a href="<?=$code_url?>" title="微博登录" style="background:0;margin-top:10px;"><img src="/assets/src/images/weibo_32x32.png"/></a>
            <a href="javascript:void(0);" title="QQ登录" onclick='toQzoneLogin()' style="background:0;margin-top:11px;width:auto;"><img style="width:auto;height:auto;" src="/assets/src/images/Connect_logo_7.png"></a> -->
        </div>
    </div>
    <div class="hd">
        <ul></ul>
        <a class="prev" title="上一页">上一页</a>
        <a class="next" title="下一页">下一页</a>
    </div>
    <div class="bd">
        <ul>
        	<li _src="url(/upload/banner/banner1.jpg)"><a href="##"></a></li>
            <li _src="url(/upload/banner/banner2.jpg)"><a href="##"></a></li>
            <li _src="url(/upload/banner/banner3.jpg)"><a href="##"></a></li>
        </ul>
    </div>
</div>
<div class="ifooter">
    <div class="container clearfix">
        <a class="fl" href="/"><img src="<?php echo _get_cfg_path('images')?>logo.png" alt="logo"/></a>
        <p class="fr">
            <a href="javascript:void(0);" class="work_pdf" title="工作条款">工作条款</a>魔步网版权所有&copy;2004-2015
        </p>
    </div>
</div>
<script type="text/javascript" src="<?php echo _get_cfg_path('js')?>jquery-1.9.1.min.js"></script>
<script type="text/javascript" src="<?php echo _get_cfg_path('js')?>common.js"></script>
<script type="text/javascript" src="<?php echo _get_cfg_path('js')?>jquery.SuperSlide.2.1.1.js"></script>

<script type="text/javascript" src="<?php echo _get_cfg_path('js')?>jquery.form.js"></script>
<script type="text/javascript" src="<?php echo _get_cfg_path('js')?>pages/user/login.js"></script>
<script>
var childWindow;
function toQzoneLogin()
{
    childWindow = window.open("/user/login/qqlogin","TencentLogin","width=450,height=320,menubar=0,scrollbars=1, resizable=1,status=1,titlebar=0,toolbar=0,location=1");

    wTimer=window.setInterval("closeChildWindow()",500);
} 

function closeChildWindow()
{
	if(childWindow.closed==true){
        window.clearInterval(wTimer);
		window.location.href="/home";
	}
//     childWindow.close();
}
$(function(){
	$(".work_pdf").click(function(){
		window.open("../assets/src/pdf/工作条款.pdf","TencentLogin","width=600,height=500,menubar=0,scrollbars=1, resizable=1,status=1,titlebar=0,toolbar=0,location=1");
	});
})
</script>
</body>
</html>
